package com.design_pattern.state;

public class ClosedStatus extends CarState {
    @Override
    public void open() {
        System.out.println("ok,you can open");

    }

    @Override
    public void close() {
        System.out.println("can not close");
    }

    @Override
    public void run() {
        System.out.println("can not run");
    }

    @Override
    public void stop() {
        System.out.println("can not stop");
    }
}
